<?php
require_once('config.php');

/**
 * Setup controller
 */
$controller = Zend_Controller_Front::getInstance()
	->setControllerDirectory(PATH_MAIN)
	->throwExceptions(ZEND_DEBUG)
	->setParam('noViewRenderer', true)
	->setRouter(new Zend_Controller_Router_Rewrite())
	->dispatch();